<?php
	require_once('auth.php');

?>

<html>
<head>
<script language="javascript">
location.replace("Trade_Inquiries_Admin.php")

</script>
<title>::.::.:: APPMA ::.::.::</title></head>
<body>
<?php
$con = mysql_connect("localhost","appma" ,"database");
		
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

	mysql_select_db("162_appma", $con);
	
$sql="UPDATE trade 
SET 
display = 'show'
WHERE sno='$_GET[sno]'
";


if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
echo "1 record Updated";
mysql_close($con)

?>
		 
		 
</body>
  </html>                    
                 

